home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
relnotes
/
ViewKit21_dev
/
ch3.z
/
ch3
Wrap
Text File
|
1998-11-02
|
7KB
|
199 lines
- 1 -
3. _N_e_w__s_i_n_c_e__I_R_I_X__6_._5_._2
_T_h_i_s _s_o_f_t_w_a_r_e _i_s _s_o_u_r_c_e _c_o_d_e _c_o_m_p_a_t_i_b_l_e _w_i_t_h _t_h_e _1._5._3
_r_e_l_e_a_s_e _o_f _V_i_e_w_K_i_t, _e_x_c_e_p_t _f_o_r _t_h_o_s_e _c_a_s_e_s _w_h_i_c_h _a_r_e
_m_e_n_t_i_o_n_e_d _i_n _e_i_t_h_e_r _c_h_a_p_t_e_r _4 _o_f _t_h_e _r_e_l_e_a_s_e _n_o_t_e_s _o_r _t_h_e
_V_i_e_w_K_i_t _2._1 _P_o_r_t_i_n_g _G_u_i_d_e (_s_e_e _c_h_a_p_t_e_r _4). _I_t _i_s _N_O_T _b_i_n_a_r_y
_c_o_m_p_a_t_i_b_l_e. _I_f _y_o_u _f_i_n_d _a _p_r_o_b_l_e_m _w_i_t_h _s_o_u_r_c_e _c_o_d_e
_c_o_m_p_a_t_i_b_i_l_i_t_y, _p_l_e_a_s_e _r_e_p_o_r_t _i_t _i_m_m_e_d_i_a_t_e_l_y _s_o _t_h_a_t _i_t _c_a_n
_b_e _f_i_x_e_d _A_S_A_P.
_N_e_w _f_e_a_t_u_r_e_s _w_i_l_l _n_o_t _h_a_v_e _e_i_t_h_e_r _t_h_e_i_r _A_P_I _o_r _A_B_I _f_r_o_z_e_n
_u_n_t_i_l _w_e _g_e_t _n_e_a_r _a _f_o_r_m_a_l _r_e_l_e_a_s_e. _I_n _t_h_e _m_e_a_n_t_i_m_e, _i_t _i_s
_p_o_s_s_i_b_l_e _t_h_a_t _A_P_I _a_n_d/_o_r _A_B_I _m_a_y _c_h_a_n_g_e _a_s _w_e _g_e_t _m_o_r_e
_e_x_p_e_r_i_e_n_c_e _w_i_t_h _t_h_e_s_e _n_e_w _f_e_a_t_u_r_e_s. _W_e _s_h_a_l_l _n_o_t _i_n_t_r_o_d_u_c_e
_g_r_a_t_u_i_t_o_u_s _b_r_e_a_k_a_g_e, _b_u_t _w_e _a_r_e _a_l_s_o _n_o_t _y_e_t _b_o_u_n_d _b_y
_c_o_m_p_a_t_i_b_i_l_i_t_y _c_o_n_s_t_r_a_i_n_t_s _i_n _o_u_r _e_f_f_o_r_t _t_o _m_a_k_e _t_h_i_s
_s_o_f_t_w_a_r_e _b_e _a_s _g_o_o_d _a_s _i_t _c_a_n _b_e _b_y _r_e_l_e_a_s_e _t_i_m_e.
Please review the Release notes for ViewKit 1.5.3 for a list
of changes made prior to the IRIX 6.5.2 release.
3.1 _N_e_w__C_l_a_s_s_e_s__&__O_t_h_e_r__E_n_h_a_n_c_e_m_e_n_t_s
3.1.1 _M_o_t_i_f_-_2_._1__s_u_p_p_o_r_t
+o The 2.1 release of ViewKit is built using the Motif 2.1
release. This release doesn't provide any special
"components" for new Motif 2.1 widgets, but any widget
in Motif 2.1 can be used by the ViewKit developer to
create custom components.
3.1.2 _M_u_l_t_i_-_D_i_s_p_l_a_y__&__M_u_l_t_i_-_S_c_r_e_e_n__s_u_p_p_o_r_t
3.1.2.1 _N_e_w__c_l_a_s_s__-__V_k_S_c_r_e_e_n
+o VkScreen is a new class that allows ViewKit
applications to create and manage windows on multiple
screens.
3.1.2.2 _N_e_w__c_l_a_s_s__-__V_k_D_i_s_p_l_a_y
+o VkDisplay is a new class that allows ViewKit
applications to create and manage windows on multiple
Displays and their associated VkScreens.
- 2 -
3.1.2.3 _E_n_h_a_n_c_e_d__c_l_a_s_s__-__V_k_A_p_p
+o VkApp has be "enhanced" to provides support for
managing VkDisplays and VkScreens. The standard VkApp
API's now use the default VkScreen to get their
information. New API's on VkApp allow the programmer
to retrieve information from the other VkScreens which
might exist in the application.
3.1.2.4 _D_e_m_o__P_r_o_g_r_a_m__o_f__M_u_l_t_i_-_d_i_s_p_l_a_y_/_s_c_r_e_e_n__C_a_p_a_b_i_l_i_t_i_e_s
+o Running the example program "generic3" will demonstrate
the ability of a ViewKit application to create windows
on multiple screens as well as multiple displays.
+o For more information about the demo program, see
/_u_s_r/_s_h_a_r_e/_s_r_c/_V_i_e_w_K_i_t/_M_u_l_t_i/_g_e_n_e_r_i_c_3._c++.
+o For more information about the affected ViewKit
classes, see the "ViewKit 2.1 Programmers Overview"
section below.
3.1.3 _V_i_e_w_K_i_t__V_i_s_u_a_l__H_a_n_d_l_i_n_g__I_m_p_r_o_v_e_m_e_n_t_s
3.1.3.1 _P_o_p_u_p__H_e_l_p__i_n__t_h_e__O_v_e_r_l_a_y_s
+o The resource "useOverlayHelp" causes popup help windows
created by ViewKit to be put in the deepest available
overlay visual.
3.1.4 _P_e_r_f_o_r_m_a_n_c_e__i_m_p_r_o_v_e_m_e_n_t_s__f_o_r__V_k_C_a_l_l_b_a_c_k_L_i_s_t
3.1.4.1 _N_e_w__A_P_I
+o The API's for both VkCallbackList, as well as
VkCallbackObject, have been extended to allow the
programmer to use a "quark" or a "long" when "naming"
callback items. The standard "string" naming mechanism
has also been enhanced to support automatic string-to-
quark conversions in order to provide better
performance when searching for callback items.
- 3 -
3.2 _V_i_e_w_K_i_t__2_._1__P_r_o_g_r_a_m_m_e_r_s__O_v_e_r_v_i_e_w
+o _N_o_t_e: A new section will be added to the ViewKit
Programmers Guide in the next release that will discuss
the programming issues which are unique to the ViewKit
2.1 release.
+o The "beta" release of this document can be found on the
"ViewKit 2.1 Beta" website at
http://www.sgi.com/software/betas/viewkit2.1/. This
site will only be operational during the period of time
between the IRIX 6.5.2 and 6.5.3 releases.
3.3 _V_i_e_w_K_i_t__2_._1__P_o_r_t_i_n_g__G_u_i_d_e
+o _N_o_t_e: A new section will be added to the ViewKit
Programmers Guide in the next release that will discuss
the porting issues which are unique to the ViewKit 2.1
release.
+o The primary change that is required in order to make
custom ViewKit components multi-screen (and therefore
multi-display) aware, is the need to use API's on
VkScreen instead of calling theApplication API's. The
standard API's on VkApp will return information that is
relative to the default VkScreen.
+o The "beta" release of this document can be found on the
"ViewKit 2.1 Beta" website at
http://www.sgi.com/software/betas/viewkit2.1/. This
site will only be operational during the period of time
between the IRIX 6.5.2 and 6.5.3 releases.